<%@ page language="java" import="java.util.*"
	contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="/WEB-INF/config/tld/mysoft.tld" prefix="mysoft"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>分类管理</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<style type="text/css">
<!--
td {
	border-color: #00548b;
}


-->
</style>
	</head>

	<body>
		<form action="">
			一级类型名:<s:select list="allClassList" listKey="CLASS_ID"
				listValue="CLASS_NAME" theme="simple" name="CLASS_TOPCLASS_ID"
				headerKey="-1" headerValue="全  部">
			</s:select><br/>
			<s:property value="#CLASS_TOPCLASS_ID"/>
			类型名:<input type="text" name="CLASS_NAME" size="10"
				value='<s:property value="CLASS_NAME" />' />
			<input type="submit" value="查询" />
			<br>
			<a href="toadd.action">添加新的分类</a>
			<mysoft:pagination selectid="allclass"
				selectValue="CLASS_TOPCLASS_ID;CLASS_NAME" dateID="test21212">
				<table width="100%" align="center" cellspacing="0" border="1">
					<tr>
						<td class="td">
							序号
						</td>
						<td>
							类型名
						</td>
						<td>
							上级类型
						</td>
						<td>
							描述
						</td>
						<td></td>
						<td></td>
					</tr>
					<s:iterator value="test21212" id="test1" status="a">
						<tr>
							<td>
								<s:property value="#a.index+1" />
							</td>
							<td>
								<s:property value="#test1.CLASS_NAME" />
							</td>
							<td>
								<s:property value="#test1.CLASS_TOP_NAME" />
							</td>
							<td>
								<s:property value="#test1.CLASS_DESC" />
							</td>
							<td>
								<a
									href="deleteClass.action?deleteClassID=<s:property value="#test1.CLASS_ID" />">删除</a>
							</td>
							<td>
								<a
									href="editClass.action?editClassID=<s:property value="#test1.CLASS_ID" />">修改</a>
							</td>

						</tr>
					</s:iterator>
				</table>
			</mysoft:pagination>
		</form>
	</body>

</html>
